xl: destroy the disk on successful removal during block-detach
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 29 May 2012 15:36:53 +0000 (16:36 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 29 May 2012 15:36:53 +0000 (16:36 +0100)
commitbb86668db55fa24f275c8f56ddd4dcb44cd413fe
tree4174bb1eae797251ab596a8d4cdb28b5ed4940c0
parentbdd0754138a4a9f9d523bdf2a26027f1ee2fe089
xl: destroy the disk on successful removal during block-detach

main_blockdetach needs to call libxl_device_disk_destroy so that all the
disk related entries are properly removed from xenstore.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c